package dfbz.homework2;

public class cat extends Animal{
    public cat(String name,String color,double price){
        super(name, color, price);
    }
    public void catchMouse(){
        System.out.println(this.getName()+"猫在抓老鼠");
    }
}
